package com.jkc.xh.models;

/**
 * Created by zhangbreeze on 16/1/29.
 */
public class MessageModel {
    public String id;
    public String title;
    public String content;
    public Long create_time;
    public int is_read;

    public boolean isRead() {
        if (is_read == 1) {
            return true;
        } else {
            return false;
        }
    }

    /**
     * {
     "title": "标题",
     "content": "内容",
     "is_read" : "是否已读，0=否，1=是",
     "create_time" : "发送时间"
     }
     */
}
